package org.example.dao.dto.market;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author xluo
 * @date 2023/11/5 11:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CKindDto {

    private Long id;
    /**
     * 父层级id
     */
    private Long fatherId = 0L;
    /**
     * 类型层级
     */
    private Integer level = 1;
    /**
     * 类型名
     */
    private String name;
    private Date createTime = new Date();
    private Date updateTime = new Date();
    private Integer isValid = 1;

    private Boolean hasChild;

}
